#ifndef _SHELL_TITLEBYTIMEBEAN_BEAN_H_
#define _SHELL_TITLEBYTIMEBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class TitleByTimeBean : public Bean
{
	public:
	TitleByTimeBean();
	~TitleByTimeBean();
	void reset();
	TitleByTimeBean* clone();
	//称号资源ID
	int32 sid;
	//剩余小时数,如果为0,则该称号失效
	int32 hourRemain;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
